//
//  OrderModel.h
//  WHB_driver
//
//  Created by 徐国庆 on 15/12/29.
//  Copyright (c) 2015年 turing. All rights reserved.
//

#import <Mantle/Mantle.h>
#import "Mantle.h"
#import "UtilsHelper.h"

@interface OrderModel : MTLModel<MTLJSONSerializing>

// 订单model字段
@property(nonatomic, assign)NSInteger  orderId;           //货单id
@property(nonatomic, strong)NSString  *orderNo;           //货单号
@property(nonatomic, strong)NSString  *startAddressName;  //出发地
@property(nonatomic, strong)NSString  *endAddressName;    //目的地
@property(nonatomic, strong)NSString  *mediumName;        //货物介质
@property(nonatomic, strong)NSString  *weight;            //货物重量
@property(nonatomic, strong)NSString  *getOrgName;        //取货企业名称
@property(nonatomic, strong)NSString  *getOrgAuthStatus;  //取货企业是否已认证
@property(nonatomic, strong)NSString  *getGoodsTelNum;    //取货电话
@property(nonatomic, strong)NSString  *loadGoodsTime;     //取货日期
@property(nonatomic, strong)NSString  *getGoodsAddress;   //取货详细地址
@property(nonatomic, strong)NSString  *note;              //备注
@property(nonatomic, strong)NSString  *orderStatus;       //订单状态
@property(nonatomic, strong)NSString  *takeGoodsQRCode;   //取货完成二维码图片url

// 历史订单model新增字段
@property(nonatomic, strong)NSString  *finishStatus;      //是否已完成

// 货单详情model新增字段
@property(nonatomic, strong)NSString  *expectFreight;        //价格区间
@property(nonatomic, strong)NSString  *receiptOrgName;       //收货企业名称
@property(nonatomic, strong)NSString  *receiptOrgAuthStatus; //收货企业是否认证
@property(nonatomic, strong)NSString  *receiptGoodsTelNum;   //收货电话
@property(nonatomic, strong)NSString  *carrierOrgName;       //承运企业名称
@property(nonatomic, strong)NSString  *carrierOrgAuthStatus; //承运企业是否认证
@property(nonatomic, strong)NSString  *carrierOrgTelNum;     //承运企业电话
@property(nonatomic, strong)NSString  *orderTime;            //下单时间
@property(nonatomic, strong)NSString  *grabTime;             //抢单时间
@property(nonatomic, strong)NSString  *takeTime;             //取货确认时间
@property(nonatomic, strong)NSString  *deliveryTime;         //送达确认时间
@property(nonatomic, strong)NSString  *signTime;             //签收确认时间
@property(nonatomic, strong)NSString  *driverEvaluationStar; //车主评价星级
@property(nonatomic, strong)NSString  *driverEvaluationTimes;//车主评价次数
@property(nonatomic, strong)NSString  *ownerEvaluationStar;  //货主评价星级
@property(nonatomic, strong)NSString  *ownerEvaluationTimes; //货主评价次数
@property(nonatomic, strong)NSString  *orgEvaluationStar;    //物流商评价星级
@property(nonatomic, strong)NSString  *orgEvaluationTimes;   //物流商评价次数

@property(nonatomic, strong)NSString  *pushLicensePlate;     // 推送车辆牌号


@end
